package fatworm.parser.syntree;

public class ValueFunctionNode extends ValueNode{
	public fatworm.concept.AggFunc func;
	public String fieldName;
	public ValueFunctionNode( fatworm.concept.AggFunc func , String fieldName ){
		this.func = func;
		this.fieldName = fieldName;
	}
	public void accept(IValueVisitor visitor) {
		visitor.visit( this );
		
	}
	public String toString() {
		return  func  + "("+fieldName+")";
	}
}
